package com.yidu.drug.dao;

import org.apache.ibatis.annotations.Param;

import com.yidu.drug.model.SpecificationModel;

public interface SpecificationModelMapper {
    int deleteByPrimaryKey(String speId);

    int insert(SpecificationModel record);

    int insertSelective(SpecificationModel record);

    SpecificationModel selectByPrimaryKey(String speId);

    int updateByPrimaryKeySelective(SpecificationModel record);

    int updateByPrimaryKey(SpecificationModel record);
    
    SpecificationModel selectByDrugId(String drugId);
    
    int deleteByDrugId(String drugId);
    
    int updateByDrugId(@Param("speName")String speName,@Param("drugId")String drugId);
}